import logging
def cloect_log():
    logging.basicConfig(filename=".\logrk\dubug_logrk",
                        filemode="a+",
                        level=logging.DEBUG,
                        format="%(lineno)d->%(message)s->%(filename)s->%(asctime)s"
                        )